<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script th:src="@{/webjars/jquery/3.5.1/jquery.min.js}"></script>
    <link rel="stylesheet" th:href="@{/webjars/bootstrap/4.4.1-1/css/bootstrap.min.css}">
</head>
<body>

<!--      <input type="text" th:value="${name}" readonly>-->
<!--      <input type="text" th:value="${boy}" readonly>-->
    <div class="container">
         <form  method="post" th:object="${user}">
               <input type="hidden" name="id" th:value="*{id}"><br>
            姓名：   <input type="text" name="username" th:value="*{username}"><br>
            生日：   <input type="text" name="birthday" th:value="*{#dates.format(birthday,'yyyy-MM-dd')}"><br>

               <button class="btn btn-success">修改</button>
         </form>
    </div>
</body>
</html>